<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>switch</title>
	<style type="text/css">
	* {
		padding: 0;
		margin: 0;
	}
    </style>
</head>
<body>
	<div class="container">
		<h1>switch</h1>
		<input type="text" name="password">
		<input type="text" name="confirm_password">
		<div id="errorTips"></div>
	</div>

<script type="text/javascript"> 
function label1() {
	outter: for (let i = 1; i <= 10; i++) {
	  inner: for (let n = 1; n <= 10; n++) {
	    if (n % 2 == 0) {
	      continue outter;
	    }
	    console.log(i, n);
	  }
	}
	console.log('continue outter continue外面的下一轮循环')
}

function label2() {
	outter: for (let i = 1; i <= 10; i++) {
	  inner: for (let n = 1; n <= 10; n++) {
	    if (n % 2 == 0) {
	      break outter;
	    }
	    console.log(i, n);
	  }
	}
	console.log('break outter break外面的循环')
}
label1();
console.log('-----------------------\n')
label2();




</script>
</body>
</html>